This function attaches to the swath using the swathname parameter as the identifier.
Result = EOS_SW_ATTACH(fid, swathname)
Returns the swath handle (swathID) if successful and FAIL (–1) otherwise.
Swath file id (long) returned by EOS_SW_OPEN.
Name of swath (string) to be attached.
None
In this example, we attach to the previously created swath, “ExampleSwath”, within the HDF file, SwathFile.hdf, referred to by the handle, fid:
swathID = EOS_SW_ATTACH(fid, "ExampleSwath")
The swath can then be referenced by subsequent routines using the handle, swathID.
5.2 |
Introduced |